Adwaita: Fix ineffective theming of switch slider
authorDaniel Boles <dboles@src.gnome.org>
Sun, 3 Sep 2017 12:53:48 +0000 (13:53 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sun, 3 Sep 2017 13:02:23 +0000 (14:02 +0100)
commit68631d6dbddf32daf59683a52cfad332d63e217b
treebfda5fab454148818e2fbb2397c864aa2bf15c2c
parent8cd37ff0df75d890d71d40c0f23a42533853ad7b
Adwaita: Fix ineffective theming of switch slider

in a specific case, which was applying .slider as a class on the parent
switch, instead of correctly selecting on its child node named slider.

This makes the border on the outside of a switch in a selected listbox
row look better in the light variant. Since the code was never removed,
it was clearly meant to work, and making it work is a clear improvement.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained.css